import 'dart:convert';
import 'package:flutter_app/generated/json/base/json_field.dart';
import 'package:flutter_app/generated/json/list_integral_info_entity.g.dart';

@JsonSerializable()
class ListIntegralInfoEntity {

	List<ListIntegralInfoContent>? content;
	int? pageNum;
	int? pageSize;
	int? totalPages;
	int? totalSize;
  
  ListIntegralInfoEntity();

  factory ListIntegralInfoEntity.fromJson(Map<String, dynamic> json) => $ListIntegralInfoEntityFromJson(json);

  Map<String, dynamic> toJson() => $ListIntegralInfoEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

@JsonSerializable()
class ListIntegralInfoContent {

	String? createTime;
	String? score;
	String? title;
	String? type;
	String? remark;

  ListIntegralInfoContent();

  factory ListIntegralInfoContent.fromJson(Map<String, dynamic> json) => $ListIntegralInfoContentFromJson(json);

  Map<String, dynamic> toJson() => $ListIntegralInfoContentToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}